package com.winter.portal.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 菜单列表
 * </p>
 *
 * @author jzyan
 * @since 2023-02-07
 */
@Data
public class RoleResourceVO implements Serializable {

    @ApiModelProperty("资源id")
    private Long id;
    @ApiModelProperty("资源名称")
    private String title;
    @ApiModelProperty("是否被选")
    private Boolean checked;
    @ApiModelProperty("默认展开")
    private Boolean spread = true;
    @ApiModelProperty("子集")
    private List<RoleResourceVO> children;

}
